<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<input id="id" name="id" th:value="${integral?.id}" class="hidden">
							<!--<hr class="layui-bg-orange">-->
							<div class="form-group">
								<label class="col-sm-3 control-label ">是否开启积分累计：</label>
								<div class="col-sm-8" >
								 	  开启：<input  th:checked="${integral?.open} eq 1"  name="open" value="1" type="radio" />
								 	  关闭：<input  th:checked="${integral?.open} == null or ${integral?.open} eq 0"  name="open" value="0" type="radio" />
								</div>
							</div>
							<!--<hr class="layui-bg-orange">-->
							<div class="form-group">
								<label class="col-sm-3 control-label">登录积分（每次）：</label>
								<div class="col-sm-8">
									<input id="loginMin" name="loginMin" th:value="${integral?.loginMin}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">积分上限：</label>
								<div class="col-sm-8">
									<input id="loginMax" name="loginMax" th:value="${integral?.loginMax}" class="form-control" type="number">
								</div>
							</div>
<!-- 							<hr class="layui-bg-orange"> -->
<!-- 							<div class="form-group"> -->
<!-- 								<label class="col-sm-3 control-label">阅读积分（每篇）：</label> -->
<!-- 								<div class="col-sm-8"> -->
<!-- 									<input id="readMin" name="readMin" th:value="${integral?.readMin}" class="form-control" type="number"> -->
<!-- 								</div> -->
<!-- 							</div> -->
<!-- 							<div class="form-group"> -->
<!-- 								<label class="col-sm-3 control-label">阅读时长：</label> -->
<!-- 								<div class="col-sm-8"> -->
<!-- 									<input id="readTime" name="readTime" th:value="${integral?.readTime}" class="form-control" type="number"> -->
<!-- 								</div> -->
<!-- 							</div> -->
<!-- 							<div class="form-group"> -->
<!-- 								<label class="col-sm-3 control-label">积分上限：</label> -->
<!-- 								<div class="col-sm-8"> -->
<!-- 									<input id="readMax" name="readMax" th:value="${integral?.readMax}" class="form-control" type="number"> -->
<!-- 								</div> -->
<!-- 							</div> -->
<!-- 							<hr class="layui-bg-orange"> -->
<!-- 							<div class="form-group"> -->
<!-- 								<label class="col-sm-3 control-label">文章学习（每篇）：</label> -->
<!-- 								<div class="col-sm-8"> -->
<!-- 									<input id="learnMin" name="learnMin" th:value="${integral?.learnMin}" class="form-control" type="number"> -->
<!-- 								</div> -->
<!-- 							</div> -->
<!-- 							<div class="form-group"> -->
<!-- 								<label class="col-sm-3 control-label">文章学习时长：</label> -->
<!-- 								<div class="col-sm-8"> -->
<!-- 									<input id="learnTime" name="learnTime" th:value="${integral?.learnTime}" class="form-control" type="number"> -->
<!-- 								</div> -->
<!-- 							</div> -->
<!-- 							<div class="form-group"> -->
<!-- 								<label class="col-sm-3 control-label">积分上限：</label> -->
<!-- 								<div class="col-sm-8"> -->
<!-- 									<input id="learnMax" name="learnMax" th:value="${integral?.learnMax}" class="form-control" type="number"> -->
<!-- 								</div> -->
<!-- 							</div> -->
							<!--<hr class="layui-bg-orange"> -->
							<div class="form-group">
								<label class="col-sm-3 control-label">智能答题错误积分（每组）：</label>
								<div class="col-sm-8">
									<input id="smartMin" name="smartMin" th:value="${integral?.smartMin}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">智能答题正确积分（每组）：</label>
								<div class="col-sm-8">
									<input id="smartR" name="smartR" th:value="${integral?.smartR}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">积分上限：</label>
								<div class="col-sm-8">
									<input id="smartMax" name="smartMax" th:value="${integral?.smartMax}" class="form-control" type="number">
								</div>
							</div>
							<!--<hr class="layui-bg-orange">-->
							<div class="form-group">
								<label class="col-sm-3 control-label">每日一题错误积分（每题）：</label>
								<div class="col-sm-8">
									<input id="oneDayMin" name="oneDayMin" th:value="${integral?.oneDayMin}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">每日一题正确积分（每题）：</label>
								<div class="col-sm-8">
									<input id="oneDayR" name="oneDayR" th:value="${integral?.oneDayR}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">积分上限：</label>
								<div class="col-sm-8">
									<input id="oneDayMax" name="oneDayMax" th:value="${integral?.oneDayMax}" class="form-control" type="number">
								</div>
							</div>
							<!--<hr class="layui-bg-orange">-->
							<div class="form-group">
								<label class="col-sm-3 control-label">每周一答错误积分（每组）：</label>
								<div class="col-sm-8">
									<input id="oneWeekMin" name="oneWeekMin" th:value="${integral?.oneWeekMin}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">每周一答正确积分（每组）：</label>
								<div class="col-sm-8">
									<input id="oneWeekR" name="oneWeekR" th:value="${integral?.oneWeekR}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">积分上限：</label>
								<div class="col-sm-8">
									<input id="oneWeekMax" name="oneWeekMax" th:value="${integral?.oneWeekMax}" class="form-control" type="number">
								</div>
							</div>
							<!--<hr class="layui-bg-orange">-->
							<div class="form-group">
								<label class="col-sm-3 control-label">专题考试错误积分（每组）：</label>
								<div class="col-sm-8">
									<input id="formalMin" name="formalMin" th:value="${integral?.formalMin}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">专题考试正确积分（每组）：</label>
								<div class="col-sm-8">
									<input id="formalR" name="formalR" th:value="${integral?.formalR}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">积分上限：</label>
								<div class="col-sm-8">
									<input id="formalMax" name="formalMax" th:value="${integral?.formalMax}" class="form-control" type="number">
								</div>
							</div>
							<!--<hr class="layui-bg-orange">-->
							<div class="form-group">
								<label class="col-sm-3 control-label">分享（每次）：</label>
								<div class="col-sm-8">
									<input id="shareMin" name="shareMin" th:value="${integral?.shareMin}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">积分上限：</label>
								<div class="col-sm-8">
									<input id="shareMax" name="shareMax" th:value="${integral?.shareMax}" class="form-control" type="number">
								</div>
							</div>
							<!--<hr class="layui-bg-orange">-->
							<div class="form-group">
								<label class="col-sm-3 control-label">上传照片（每次）：</label>
								<div class="col-sm-8">
									<input id="photoMin" name="photoMin" th:value="${integral?.photoMin}" class="form-control" type="number">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">积分上限：</label>
								<div class="col-sm-8">
									<input id="photoMax" name="photoMax" th:value="${integral?.photoMax}" class="form-control" type="number">
								</div>
							</div>
							<!--<hr class="layui-bg-orange">-->
							<input id="delFlag" name="delFlag" class="form-control" type="hidden" value="0">
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/lucky/integral/config/edit.js" th:src="${urls.getForLookupPath('/js/lucky/integral/config/edit.js')}">
	</script>
</body>
</html>
